Repository navigation
E2E: a journey checks nothing written is readable on the disk - #1888
Open
vmillet-dev wants to merge 1 commit into
Open
vmillet-dev wants to merge 1 commit into
vmillet-dev wants to merge 1 commit into
Conversation
Journey 14 writes every sealed kind, quits and reads the whole profile; an opened attachment's plain copy goes at the exit and before the gate after a crash. Journey 12 ends by reading what it set aside. In the e2e flavour, « open with » starts no program.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1884
Two things only the assembled application does, which no test checked any more since #1879: nothing a person writes can be read from the profile on the disk, and an opened attachment's plain copy goes with DevNotes.
Journey 14, « Nothing readable on the disk » — on its own profile, it runs alone:
{{field}}filled and copied, a global variable, a word searched;Journey 12 ends by reading what it set aside — the library replaced by the restore, the damaged one, the archived one: neither what was written after the copy nor either phrase.
SDK —
disk():expect_nowhere(words)reads every file and every name, fails on a file it cannot read and on a profile without a database, and names the file and the word it found;expect_somewhere(word)waits for a word.App::while_closed(|disk| …),App::crash_and_launch_again(),attachments().open(n).The
e2eflavour —platform::desktop::from_scenario: « open with » starts no program and says it did;apppicks it as it picks the updater's. A journey never opens a program of the machine any more, a link included.Found — nothing in the clear: the drawings' pictures, the global variables, the search, the history, the logs and the copies all read nothing of what was written.
Checks run locally (Windows, on a desktop of their own)
cargo fmt --all --check;cargo clippy -p e2e -p app -p platform --all-targets --all-features -- -D warnings(with-A clippy::needless_pass_by_value:platform::shortcuts::systemfails it on Windows alone, untouched here).